package org.yejiali.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.yejiali.annotaion.SystemLog;
import org.yejiali.common.response.ResponseResult;
import org.yejiali.service.LinkService;

/**
 * 友链(Link)表控制层
 *
 * @author yejiali
 * @since 2025-02-18 14:48:39
 */
@RestController
@RequestMapping("/link")
public class LinkController{
    /**
     * 服务对象
     */
    @Autowired
    private LinkService linkService;
    @GetMapping("/getAllLink")
    public ResponseResult getAllLink(){
        return linkService.getAllLink();
    }


}

